package com.ms.p2p.dao;



import com.ms.p2p.entity.loan.LoanDueIn;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;


public interface LoanDueInDao extends CrudDao<LoanDueIn> {

	LoanDueIn find(HashMap map);

	List<Map<String,Object>> findPager(@Param("debt_user_id") Integer id,@Param("status") String status, @Param("begin") int begin, @Param("size") Integer pageSize);

	int findCount(@Param("debt_user_id") Integer id,@Param("status") String status);

	String findIncome(@Param("userId") Integer userId, @Param("status") Integer status);

	int getcount(@Param("userId") Integer userId, @Param("status") int status);

	List<LoanDueIn> findDueInList(HashMap<String, Object> map);
}
